import java.io.File;
import java.io.FileNotFoundException;
import java.io.PrintStream;
import java.math.BigInteger;

public class Fushu {

    public static void main(String[] args) throws FileNotFoundException {
        BigInteger c = BigInteger.valueOf(2);
        BigInteger d = BigInteger.valueOf(3);
        BigInteger a = BigInteger.valueOf(2);
        BigInteger b = BigInteger.valueOf(3);
        //(a+bi)*(c+di) = (a*c - b*d) + (a*d + b*c)i
        for (int i = 1; i < 123456; i++) {
            BigInteger A = a.multiply(c).subtract(b.multiply(d));
            BigInteger B = a.multiply(d).add(b.multiply(c));
            a = A;//如果不设置临时变量，后面b的值会出错
            b = B;
        }

        System.out.println(a.toString() + b.toString() + "i");
    }
}